#!/usr/bin/php -q
<?php

// initialize project constants
require_once(dirname(__FILE__).str_replace('/', DIRECTORY_SEPARATOR, '/config/environment.php'));

// create a Web application instance and run
require_once(QORE_BASE_FILE);
Qore::createCliApplication(require QORE_APP_BASE_PATH.str_replace('/', DIRECTORY_SEPARATOR, '/config/main.php'))->run();